\hypertarget{namespacesampler}{
\section{sampler Namespace Reference}
\label{namespacesampler}\index{sampler@{sampler}}
}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
topic\_\-t \hyperlink{namespacesampler_a5e94e46fa64275d6575d568932f827be}{sample} (const \hyperlink{struct_topic_counts}{topicCounts} $\ast$currentTypeTopicCounts, topic\_\-t old\_\-topic, const atomic$<$ topic\_\-t $>$ $\ast$tokens\_\-per\_\-topic, const topic\_\-t $\ast$local\_\-topic\_\-counts, const topic\_\-t $\ast$local\_\-topic\_\-index, const int \&non\_\-zero\_\-topics, const double \&smoothingOnlyMass, const double \&topicBetaMass, const double $\ast$cachedCoefficients, const double \&betaSum, const double $\ast$alpha, double $\ast$topic\_\-term\_\-scores, const topic\_\-t \&numTopics, variate\_\-generator$<$ \hyperlink{types_8h_a17e4235145adf580fbfd1b811467e3b9}{base\_\-generator\_\-type} \&, boost::uniform\_\-real$<$$>$ $>$ $\ast$unif01)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{namespacesampler_a5e94e46fa64275d6575d568932f827be}{
\index{sampler@{sampler}!sample@{sample}}
\index{sample@{sample}!sampler@{sampler}}
\subsubsection[{sample}]{\setlength{\rightskip}{0pt plus 5cm}topic\_\-t sampler::sample (const {\bf topicCounts} $\ast$ {\em currentTypeTopicCounts}, \/  topic\_\-t {\em old\_\-topic}, \/  const atomic$<$ topic\_\-t $>$ $\ast$ {\em tokens\_\-per\_\-topic}, \/  const topic\_\-t $\ast$ {\em local\_\-topic\_\-counts}, \/  const topic\_\-t $\ast$ {\em local\_\-topic\_\-index}, \/  const int \& {\em non\_\-zero\_\-topics}, \/  const double \& {\em smoothingOnlyMass}, \/  const double \& {\em topicBetaMass}, \/  const double $\ast$ {\em cachedCoefficients}, \/  const double \& {\em betaSum}, \/  const double $\ast$ {\em alpha}, \/  double $\ast$ {\em topic\_\-term\_\-scores}, \/  const topic\_\-t \& {\em numTopics}, \/  variate\_\-generator$<$ {\bf base\_\-generator\_\-type} \&, boost::uniform\_\-real$<$$>$ $>$ $\ast$ {\em unif01})}}
\label{namespacesampler_a5e94e46fa64275d6575d568932f827be}
